package lesson08;

/**
 * 短跑运动员
 */
public class SprintAthlete extends Athlete implements Sprint{
    public SprintAthlete() {
    }

    public SprintAthlete(String name, int age, String gender) {
        super(name, age, gender);
    }

    @Override
    public void sprint() {
        System.out.println(this.getName() + "会短跑");
    }
}
